//
//  Bootsheet.h
//  ZZmetro
//
//  Created by 一介布衣 on 2020/6/17.
//  Copyright © 2020 一介布衣. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

/**
 * BottomesheetBuilder 属性设置
 */
@interface BottomsheetBuilder : NSObject
//确认按钮的文字，默认为“确认”
@property (nonatomic, copy, nullable) NSString *confirmText;
//取消按钮的文字，默认为“取消”
@property (nonatomic, copy, nullable) NSString *cancelText;
//确认文字的颜色，默认是蓝色
@property (nonatomic, strong, nullable) UIColor *confirmTextColor;
//取消文字的颜色，默认为蓝色
@property (nonatomic, strong, nullable) UIColor *cancelTextColor;
//选择器的背景颜色，默认为白色
@property (nonatomic, strong, nullable) UIColor *pickerColor;
//选择器的文字颜色，默认为黑色
@property (nonatomic, strong, nullable) UIColor *sheetTextColor;
//整个pickerView的高度，默认为248，包括44的按钮栏
@property (nonatomic, assign) CGFloat sheetHeight;
@end

/**
* Boottomsheet
*/
@interface Bottomsheet : UIViewController

-(void) setContentView:(UIView *) content;

-(void) setTitle:(NSString *) title withColor:(int) color;

-(void) setItemLeft:(NSString *) leftTitle right:(NSString *) rightTitle;

-(void) show;

@end

NS_ASSUME_NONNULL_END
